<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@page import="org.springframework.security.core.context.SecurityContextHolder"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contact Us</title>
<link rel="stylesheet" type="text/css" href="css/loginstyle.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='images/plus.gif' class='statusicon' />", "<img src='images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>
<style>
body {
    background: url('../img/bg.jpg') no-repeat scroll center top #310B28;
    font-family: Arial,Helvetica,sans-serif;
    padding: 0px;
    font-size: 12px;
    margin: 0px auto;
    color: #0E4354;
}

#main_container {
    margin: 0px auto;
    width: 1300px;
    padding: 0px;
}
.login_form {
    width: 600px;
    height: 250px;
    background: url('./img/login_bg.png') no-repeat scroll center top transparent;
    margin: 20px 0px 0px 145px;
    float: left;
    padding: 0px;
}
.header {
    width: 1300px;
    height: 100px;
}
.logo {
    float: left;
    padding: 35px 0px 0px;
}
.right_header {
    width: 370px;
    float: right;
    text-align: right;
    color: #FFF;
    padding: 40px 0px 0px;
}
.right_header a {
    margin: 0px 5px;
    text-decoration: underline;
    color: #FFF;
}
.right_header a.logout {
    background: url('../images/user_logout.png') no-repeat scroll right center transparent;
    padding-right: 20px;
}
.jclock {
    color: #FFF;
    float: right;
    font-size: 22px;
    font-weight: bold;
    padding: 34px 25px 0px 0px;
}
.h3 {
    font-size: 18px;
    color: #256C89;
    font-weight: normal;
    padding: 15px 0px 5px 30px;
    margin: 0px;
    float: left;
    clear: both;
}


</style>
<script type="text/javascript">
	
	$(document).ready(function() {
		$('.ask').jConfirmAction();
	});
	
</script>

<script type="text/javascript" src="js/jconfirmaction.jquery.js"></script>
<script language="javascript" type="text/javascript" src="js/niceforms.js"></script>
<!-- <link rel="stylesheet" type="text/css" media="all" href="css/niceforms-default.css" />
 -->

<script>
function displayTime() {
    var elt = document.getElementById("clock");  // Find element with id="clock"
    var now = new Date();                        // Get current time
    elt.innerHTML = now.toLocaleTimeString();    // Make elt display it
    setTimeout(displayTime, 1000);               // Run again in 1 second
}
window.onload = displayTime;  // Start displaying the time when document loads.
</script>
</head>
<body>
<div id="main_container">

	<div class="header">
    <div class="logo"><a href="#"><img src="img/ncmx-logo.png" alt="" title="" border="0" width="200" height="70"/></a></div>
    
    <div class="right_header">Welcome <sec:authentication property="principal.username" />, <a href="#">Visit site</a> | <a href="#" class="messages">(3) Messages</a> | <a href="logout" class="logout" onclick="logout();">Logout</a></div>
    <div class="jclock"><span id="clock"></span></div>
  
  	  </div>
	</div>


     
         <div class="login_form">
         
         <h3>Contact Us</h3>
         <div style="float:right;">
         
        
   
         </div>
         <div style="margin-left:200px;">
         <p style="padding: 18px 0px 0px 0px;">P 803 322 6979<br />
         F 877 350 5257</p>
         <p><a href="#">info@nmcex.com</a></p>
         <p>201 E Main St, Ste 207<br />
           Rock Hill, SC 29730<br />
           ’merica</p>
           </div>
         </div>  
          
	
 		
</body>
</html>